package com.topvision.service.api.impl.hes;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.hes.HesUserDeviceZwannumberMapper;
import com.topvision.model.hes.HesUserDeviceZwannumber;
import com.topvision.service.api.hes.HesUserDeviceZwannumberService;

@Service("hesUserDeviceZwannumberService")
public class HesUserDeviceZwannumberServiceImpl implements HesUserDeviceZwannumberService {
	@Autowired
	private HesUserDeviceZwannumberMapper hesUserDeviceZwannumberMapper;
	
	@Override
	public HesUserDeviceZwannumber queryObject(Long id){
		return hesUserDeviceZwannumberMapper.queryObject(id);
	}
	
	@Override
	public List<HesUserDeviceZwannumber> queryList(Map<String, Object> map){
		return hesUserDeviceZwannumberMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hesUserDeviceZwannumberMapper.queryTotal(map);
	}
	
	@Override
	public void save(HesUserDeviceZwannumber hesUserDeviceZwannumber){
		hesUserDeviceZwannumberMapper.save(hesUserDeviceZwannumber);
	}
	
	@Override
	public void update(HesUserDeviceZwannumber hesUserDeviceZwannumber){
		hesUserDeviceZwannumberMapper.update(hesUserDeviceZwannumber);
	}
	
	@Override
	public void delete(Long id){
		hesUserDeviceZwannumberMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		hesUserDeviceZwannumberMapper.deleteBatch(ids);
	}

	@Override
	public List<HesUserDeviceZwannumber> queryByParam(Map<String, Object> map){
		return hesUserDeviceZwannumberMapper.queryByParam(map);
	}

	@Override
	public void updateByUserName(HesUserDeviceZwannumber hesUserDeviceZwannumber) {
		hesUserDeviceZwannumberMapper.updateByUserName(hesUserDeviceZwannumber);
	}

}
